<include file="header" />
<body>
<div class="wraper">
	<div class="head padding-b30 clearfix">
		<a href="{BEESCRM::U('/Base/Center/center',array('account_id'=>$accountId))}" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">个人中心</span>
		<a href="{BEESCRM::U('/base/UserCenter/set',array('user_id' => $wechatUserInfo['user_id'],'account_id'=>$accountId))}" class="iconfont icon-shezhi pull-right text-right"></a>
	</div>
	<div class="user-info">
		<div class="user-head">
			<a href="{BEESCRM::U('/base/UserCenter/set',array('user_id' => $wechatUserInfo['user_id'],'account_id'=>$accountId))}" >
				<img src="<if condition='$userInfo["avatar"]'>{BEESCRM:$userInfo.avatar}<elseif condition='$wechatUserInfo["avatar"]'/>{BEESCRM:$wechatUserInfo.avatar}</if>"/>
			</a>
		</div>
		<p class="user-name">{BEESCRM:$wechatUserInfo.nickname}</p>
	</div>
	<div class="border-top">
		<a href="{BEESCRM::U('/base/UserCenter/tradeRecord',array('account_id'=>$accountId))}" class="lists">
			<div class="tb-mode">
				<p class="tb-cell">
					<span class="iconbox color-1"><span class="iconfont icon-jilu"></span></span>
					<span>交易记录</span>
				</p>
				<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
			</div>
		</a>

		<a href="{BEESCRM::U('/base/UserCenter/coupon',array('account_id'=>$accountId))}" class="lists">
			<div class="tb-mode">
				<p class="tb-cell">
					<span class="iconbox color-2"><span class="iconfont icon-youhuiquan"></span></span>
					<span>优惠券</span>
				</p>
				<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
			</div>
		</a>

		<a href="{BEESCRM::U('/base/UserCenter/messageCenter',array('account_id'=>$accountId))}" class="lists">
			<div class="tb-mode">
				<p class="tb-cell">

					<span class="iconbox color-3">
						<span class="iconfont icon-xiaoxizhongxin"></span>
						<if condition="$have eq 1"><span class="circle"></span></if>
					</span>
					<span>消息中心</span>
				</p>
				<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
			</div>
		</a>

		<a href="{BEESCRM::U('/base/UserCenter/addressManage',array('account_id'=>$accountId))}" class="lists">
			<div class="tb-mode">
				<p class="tb-cell">
					<span class="iconbox color-4"><span class="iconfont icon-iconfontdiquguanli"></span></span>
					<span>地址管理</span>
				</p>
				<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
			</div>
		</a>
		<a href="{BEESCRM::U('/base/UserCenter/oneKey',array('account_id'=>$accountId))}" class="lists">
			<div class="tb-mode">
				<p class="tb-cell">
					<span class="iconbox color-5"><span class="iconfont icon-bangding"></span></span>
					<span>账户管理</span>
				</p>
				<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
			</div>
		</a>
		<a href="{BEESCRM::U('/base/UserCenter/callCenter',array('account_id'=>$accountId))}" class="lists">
			<div class="tb-mode">
				<p class="tb-cell">
					<span class="iconbox color-5"><span class="iconfont icon-kefu"></span></span>
					<span>客服中心</span>
				</p>
				<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
			</div>
		</a>
	
		<if condition="$accountId eq 5">
			<a href="/base/billing/index/account_id/5" class="lists">
				<div class="tb-mode">
					<p class="tb-cell">
						<span class="iconbox color-2"><span class="iconfont icon-duizhangdan"></span></span>
						<span>智慧账单</span>
					</p>
					<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
				</div>
			</a>
		</if>

		 <if condition="$accountId eq 28 or $accountId eq 2">
			<a href="{BEESCRM::U('/base/store/zhuan',array('store_id'=>$store_id,'account_id'=>$accountId))}" class="lists">
				<div class="tb-mode">
					<p class="tb-cell">
						<span class="iconbox color-2"><span class="iconfont icon-duizhangdan"></span></span>
						<span>校园卡</span>
					</p>
					<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
				</div>
			</a>
		</if>
	</div>

</div>
<script type="text/javascript" src="/assets/base/userCenter/modules/sea.js"></script>
<script enter="publicjs/public" id="confnode" async="async" src="/assets/base/userCenter/static/publicjs/config.js"></script>
</body>
</html>